package com.atguigu.mybatisplus.pojo;


import com.atguigu.mybatisplus.enums.SexEnum;
import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;


@Data
//@TableName("t_user")
public class User {

    @TableId(value = "id",type = IdType.AUTO)
    private Long id;

    private String name;

    private SexEnum sex;

    private Integer age;

    private String email;
    @TableLogic
    private Integer is_deleted;
}
